Functions

Link copied to clipboard
abstract fun blockingUpload()

Uploads the resources in scope in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .upload. The method will finish as soon as the whole upload an processing is finished.

Link copied to clipboard
abstract fun upload(): Observable<D2Progress>

Uploads the resources in scope in an asynchronous way. An Observable<D2Progress> is returned, which will emit progress until the whole upload is finished and the Observable is completed.